class SelectShopPlatformModel {
  String headerSearchTitle;
  String icon;
  String description;
  String requestParams;
  int flashJumpPositionId;
  String remark;
  String title;
  String type;
  String jumpUrl;
  Null enabled;
  String extendParams;
  List<Null> shopPlatformProductTypeList;
  String requestUrl;
  int enable;
  int id;
  String headerBackgroundImg;
  String jumpPositon;
  String jumpName;
  String objectId;
  Null shopPlatform;
  String updateTime;
  int sort;
  int isLocal;
  String createTime;
  String jumpKey;

  SelectShopPlatformModel(
      {this.headerSearchTitle,
        this.icon,
        this.description,
        this.requestParams,
        this.flashJumpPositionId,
        this.remark,
        this.title,
        this.type,
        this.jumpUrl,
        this.enabled,
        this.extendParams,
        this.shopPlatformProductTypeList,
        this.requestUrl,
        this.enable,
        this.id,
        this.headerBackgroundImg,
        this.jumpPositon,
        this.jumpName,
        this.objectId,
        this.shopPlatform,
        this.updateTime,
        this.sort,
        this.isLocal,
        this.createTime,
        this.jumpKey});

  SelectShopPlatformModel.fromJson(Map<String, dynamic> json) {
    headerSearchTitle = json['headerSearchTitle'];
    icon = json['icon'];
    description = json['description'];
    requestParams = json['requestParams'];
    flashJumpPositionId = json['flashJumpPositionId'];
    remark = json['remark'];
    title = json['title'];
    type = json['type'];
    jumpUrl = json['jumpUrl'];
    enabled = json['enabled'];
    extendParams = json['extendParams'];
    if (json['shopPlatformProductTypeList'] != null) {
      shopPlatformProductTypeList = new List<Null>();
      json['shopPlatformProductTypeList'].forEach((v) {
//        shopPlatformProductTypeList.add(new Null.fromJson(v));
      });
    }
    requestUrl = json['requestUrl'];
    enable = json['enable'];
    id = json['id'];
    headerBackgroundImg = json['headerBackgroundImg'];
    jumpPositon = json['jumpPositon'];
    jumpName = json['jumpName'];
    objectId = json['objectId'];
    shopPlatform = json['shopPlatform'];
    updateTime = json['updateTime'];
    sort = json['sort'];
    isLocal = json['isLocal'];
    createTime = json['createTime'];
    jumpKey = json['jumpKey'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['headerSearchTitle'] = this.headerSearchTitle;
    data['icon'] = this.icon;
    data['description'] = this.description;
    data['requestParams'] = this.requestParams;
    data['flashJumpPositionId'] = this.flashJumpPositionId;
    data['remark'] = this.remark;
    data['title'] = this.title;
    data['type'] = this.type;
    data['jumpUrl'] = this.jumpUrl;
    data['enabled'] = this.enabled;
    data['extendParams'] = this.extendParams;
    if (this.shopPlatformProductTypeList != null) {
//      data['shopPlatformProductTypeList'] =
//          this.shopPlatformProductTypeList.map((v) => v.toJson()).toList();
    }
    data['requestUrl'] = this.requestUrl;
    data['enable'] = this.enable;
    data['id'] = this.id;
    data['headerBackgroundImg'] = this.headerBackgroundImg;
    data['jumpPositon'] = this.jumpPositon;
    data['jumpName'] = this.jumpName;
    data['objectId'] = this.objectId;
    data['shopPlatform'] = this.shopPlatform;
    data['updateTime'] = this.updateTime;
    data['sort'] = this.sort;
    data['isLocal'] = this.isLocal;
    data['createTime'] = this.createTime;
    data['jumpKey'] = this.jumpKey;
    return data;
  }
}